package com.lanhe.app.controller.weightAssistant;


import com.lanhe.common.core.controller.BaseController;
import com.lanhe.common.core.domain.AjaxResult;
import com.lanhe.weightAssistant.service.ILhWeightAssistantService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * 权重助手管理(LhWeightAssistant)表控制层
 *
 * @author zhanggl
 * @since 2023-12-30 14:02:30
 */
@RestController
@RequestMapping("/api/weightAssistant")
public class ApiWeightAssistantController extends BaseController {

    /**
     * 服务对象
     */
    @Resource
    private ILhWeightAssistantService lhWeightAssistantService;


    /**
     * 获取数据
     */
    @GetMapping(value = {"/getInfo"})
    public AjaxResult getInfo() {
        return success(lhWeightAssistantService.getInfo());
    }
}

